package com.aki.ai_property.service.impl;

import com.aki.ai_property.dao.TitleDao;
import com.aki.ai_property.service.intf.TitleService;
import com.aki.ai_property.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ━━━━━━永无BUG!━━━━━━
 *
 * @author AKI
 * @date 2022/8/31
 */
@Service
public class TitleServiceImpl implements TitleService {
    @Autowired
    private TitleDao dao;
    @Override
    public Result all() {
        return Result.ok(dao.all());
    }
}
